#ifndef POSITION_H
#define POSITION_H
#include <QString>
#include <QtXml/QDomDocument>
#include "IA_lib_global.h"

namespace IAlib
{
    class IA_LIBSHARED_EXPORT Position
    {
    public:
        Position();

        float m_x;
        float m_y;
        float m_z;

        void setWorkSpaceId(const QString& workspace) { m_workspace_id = workspace; }
        QString getWorkspaceId() const { return m_workspace_id; }

        QDomElement toXML(QDomDocument &doc);
        void        fromXML(QDomElement ele);

    private:
        QString m_workspace_id;
    };
}

#endif // POSITION_H
